package com.sunny.model;

import framework.base.BaseEntity;
import framework.FrameworkConstans;
import framework.annotation.SortColumn;

import java.lang.Integer;
import java.lang.String;
import java.util.Date;


/**
  * 用户表 [实体类]
  * @Description: USER
  * @author baolin.liu  Email:543847778@qq.com
  * @date 2016-08-05 14:08:15
  * @version V1.0
 */
public class User extends BaseEntity {

	/**
	 * @Fields serialVersionUID : 
	 */
	private static final long serialVersionUID = 1L;
	/**ID: id*/
	@SortColumn("ID")
	private Integer id;
	
	/**USER_ID: userId*/
	@SortColumn("USER_ID")
	private String userId;
	
	/**NAME: name*/
	@SortColumn("NAME")
	private String name;
	
	/**PASSWORD: password*/
	@SortColumn("PASSWORD")
	private String password;
	
	/**CREATED_TIME: createdTime*/
	@SortColumn("CREATED_TIME")
	private Date createdTime;
	
	/**UPDATE_TIME: updateTime*/
	@SortColumn("UPDATE_TIME")
	private Date updateTime;
	
	/**STATUS: 1:正常，2：冻结，3：删除，4：锁定*/
	@SortColumn("STATUS")
	private Integer status;
	
	/**FAIL_TIME: failTime*/
	@SortColumn("FAIL_TIME")
	private Integer failTime;
	@SortColumn("LOGIN_TIME")
	private Date loginTime;
	
	
	/**ID: id*/
	public Integer getId() {
		return id;
	}

	/**ID: id*/
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**USER_ID: userId*/
	public String getUserId() {
		return userId;
	}

	/**USER_ID: userId*/
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	/**NAME: name*/
	public String getName() {
		return name;
	}

	/**NAME: name*/
	public void setName(String name) {
		this.name = name;
	}
	
	/**PASSWORD: password*/
	public String getPassword() {
		return password;
	}

	/**PASSWORD: password*/
	public void setPassword(String password) {
		this.password = password;
	}
	
	/**CREATED_TIME: createdTime*/
	public Date getCreatedTime() {
		return createdTime;
	}

	/**CREATED_TIME: createdTime*/
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	
	/**UPDATE_TIME: updateTime*/
	public Date getUpdateTime() {
		return updateTime;
	}

	/**UPDATE_TIME: updateTime*/
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	/**STATUS: 1:正常，2：冻结，3：删除，4：锁定*/
	public Integer getStatus() {
		return status;
	}

	/**STATUS: 1:正常，2：冻结，3：删除，4：锁定*/
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	/**FAIL_TIME: failTime*/
	public Integer getFailTime() {
		return failTime;
	}

	/**FAIL_TIME: failTime*/
	public void setFailTime(Integer failTime) {
		this.failTime = failTime;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	
}